import baseUrl from './base-url-config'

const { product: prefix } = baseUrl

export default {
  // 查询菜单
  getMenuDataAPI: {
    url: `${prefix}/edc/sys/menu/list`,
    method: 'GET',
  },
  // 创建
  addMenuDataAPI: {
    url: `${prefix}/edc/sys/menu/add`,
    method: 'POST',
  },
  // 修改
  editMenuDataAPI: {
    url: `${prefix}/edc/sys/menu/update`,
    method: 'PUT',
  },
  // 删除菜单
  deleteMenuDataAPI: {
    url: `${prefix}/edc/sys/menu/delete`,
    method: 'DELETE',
  },
}
